package com.maven.front.service.manageEduuser;

import com.maven.front.bean.EduUser;
import com.maven.front.mapper.EduUserMapper;
import lombok.extern.slf4j.Slf4j;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;


import java.util.List;

@Slf4j
@Service
public class EduuserService {

    @Autowired
    private EduUserMapper eduUserMapper;
    public List<EduUser> list(EduUser eduUser){
        List<EduUser> list=eduUserMapper.select(eduUser);
        if(CollectionUtils.isEmpty(list)){
            return null;
        }else {
            return list;
        }
    }

}
